package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Permission;
import cn.wolfcode.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    void save(Permission permission);

    void delete(Long id);

    void update(Permission permission);

    Permission get(Long id);

    List<Permission> list();
    PageInfo query(QueryObject qo);
    void reload();

    List<String> queryByEmployeeId(Long id);
    List<String> queryExpressionsByEmployeeId(Long id);
}
